const fs = require('fs'),
    nconf = require('nconf');

export default class ConfigReader {
    constructor(path) {
        this.config = nconf.argv()
            .env()
            .file({ file: path });
    }

    get(key) {
        return this.config.get(key);
    }
}
